package com.yunxin.core.customer.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

@Data
public class CustomerShipAllocationEditDto {

    @Schema(description = "主键id")
    @NotNull(message = "主键id不能为空")
    private Integer id;


    /**
     * 业务员id
     */
    @Schema(description = "业务员id")
    @NotNull(message = "业务员id不能为空")
    private Integer salesmanId;

    /**
     * 话务员id
     */
    @Schema(description = "话务员id")
    @NotNull(message = "话务员id不能为空")
    private Integer telephoneId;

    @Schema(description = "结束时间")
    @NotNull(message = "团队id不能为空")
    private Integer teamId;
    /**
     * 创建人
     */
    @Schema(description = "创建人",hidden = true)
    private String creator;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间",hidden = true)
    private Date createTime;

    /**
     * 修改人
     */
    @Schema(description = "修改人",hidden = true)
    private String editor;

    @Schema(description = "修改时间",hidden = true)
    private Date editTime;
}
